package com.syni.mdd.yhd.common.all.dao.jpa.activity;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.BmsBusiness;
import com.syni.mdd.yhd.common.all.entity.activity.BmsBackCard;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface BmsBackCardDao extends BaseJPADao<BmsBackCard,Integer> {
    BmsBackCard findByIdAndIsOpen(Integer id,Integer isOpen);

    BmsBackCard findByUserId(Integer userId);
}
